package com.design.working.dto;

import java.math.BigDecimal;

/**
 * 更新工资
 * @author gavin
 * @date 2022/6/17 23:11
 */
public class UpdateJobSalaryDTO {

    private Integer id;

    private BigDecimal newSalary;

    public UpdateJobSalaryDTO() {
    }

    public UpdateJobSalaryDTO(Integer id, BigDecimal newSalary) {
        this.id = id;
        this.newSalary = newSalary;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public BigDecimal getNewSalary() {
        return newSalary;
    }

    public void setNewSalary(BigDecimal newSalary) {
        this.newSalary = newSalary;
    }

    @Override
    public String toString() {
        return "UpdateJobSalaryDTO{" +
                "id=" + id +
                ", newSalary=" + newSalary +
                '}';
    }
}
